#__Author__  = white
'''
list=[1,3,46,7]
list = set(list)
print(list)

list1=(2,5,7,8)
list1=set(list1)#转换为集合的形式
print(list1)

print(list1 & list)
print(list1 | list)
print(list1 ^ list)
'''

f = open("file","r",encoding="utf-8")
#for i in range(5):
#   f.write("\nwhen i hvhhhh hh was young,my mom told me\n")

count =1
for i in f:
    print(i)
    if count == 3:
       print("\n-------\n")
    count += 1
'''
for index, line in enumerate (f.readlines()):  #enumerate将文件转化为列表格式

    if index ==3:
        print("\n----this is a line---\n")
        continue
    print(line)
#print("data ==== %s" %data)
'''
f.close()
